[paket]
tanim   = GNU Debugger
paketci = Cihan_Alkan
grup    = kütüphane
url     = https://www.gnu.org/software/gdb/

[gerek]
derleme    = perl python ncurses zlib readline expat
calisma    =

[kaynak]
xz         = ${GNU_SITE}/${isim}

[sha256]
#1          = 1e55b4d7cdca7b34be12f4ceae651623aa73b2fd640152313f9f66a7149757c4

[derle]
betik      =  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
betik      = mkdir build && cd build
betik      = ../configure --prefix=/usr --with-system-readline
betik      = make

[pakur]
betik      = cd build
betik      = make DESTDIR=$PKG install
#betik      = make -C gdb DESTDIR=$PKG install
betik      = install -dm755 $PKG/etc/gdb
betik      = touch $PKG/etc/gdb/gdbinit
